package com.studyadmin.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.studyadmin.dto.CourseParam;
import com.studyadmin.dto.StuLearningSituation;
import com.studyadmin.entity.Course;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.studyadmin.util.JsonUtil;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 课程表 Mapper 接口
 * </p>
 *
 * @author lyl
 * @since 2023-03-19
 */
public interface CourseMapper extends BaseMapper<Course> {

 public List<CourseParam> courseList();
 public List<Course> course();

 List<StuLearningSituation> selSituation(@Param(Constants.WRAPPER) Wrapper wrapper,Integer courseId);

 List<StuLearningSituation> selSituationMapper(@Param(Constants.WRAPPER) Wrapper wrapper,Integer courseId);

}
